import { Module } from '@nestjs/common';
import { OrderController } from './order.controller';
import { OrderService } from './order.service';
import { OrderEntity } from '@/entity/order.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthModule } from '@/auth/auth.module';
import { RestaurantEntity } from '@/entity/restaurant.entity';
import { UserEntity } from '@/entity/user.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([OrderEntity, RestaurantEntity]),
    AuthModule,
  ],
  controllers: [OrderController],
  providers: [OrderService],
})
export class OrderModule {}
